-- GENERATED SPELL FOR [Lithic Talonguard] --


function spell0_22388(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22388', 20000, 1)
end

function Sorts_22388(pUnit, Event)
local choix_sorts_22388 = math.random(0, 0)
if choix_sorts_22388 == 0 then
pUnit:RegisterEvent('spell0_22388', 1, 1)
end
end

function mob22388_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22388', math.random(1500, 3000), 1)
end

function mob22388_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22388_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22388_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22388, 1, 'mob22388_Action')
RegisterUnitEvent(22388, 2, 'mob22388_Leave')
RegisterUnitEvent(22388, 3, 'mob22388_Kill')
RegisterUnitEvent(22388, 4, 'mob22388_Die')
